find the product by regrouping